# -*- mode: snippet -*-
# name: Background Picture Full
# key: backgroundpicturefull
# contributor: Shuguang Sun
# --
\pgfdeclareimage[width=\textwidth]{${1:short}}{${2:filename}}
\usebackgroundtemplate{%
 \rule{0pt}{0.9\paperheight}%
 \hspace*{0.9\paperwidth}%
 \makebox[0pt][r]{\pgfuseimage{$1}}}